package android.cmpe451.group7.dbrequest;

import java.util.ArrayList;
import java.util.List;

/**
 * Our main JSON response object. Additional parameters will be added to this
 * class if necessary.
 * 
 * @param <T>
 *            Class of the list elements in the JSON response
 */
public class WebServiceResponse<T> {

	public int success;
	public int count;
	public List<T> data = new ArrayList<T>();

	public int getSuccess() {
		return success;
	}

	public void setSuccess(int success) {
		this.success = success;
	}

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}

	public List<T> getData() {
		return data;
	}

	public void setData(List<T> data) {
		this.data = data;
	}

}
